<?php
/**
 * SchoolRoom form
 *
 * @version $Id: SchoolRoom.php 73 2010-04-25 00:30:44Z yingkuang.chen@gmail.com $
 * @license New BSD License
 * @uses Zend_Form
 * @package school
 * @subpackage Form
 */
class School_Form_SchoolRoom extends Sfs_Form
{

    /**
     * initialization routine
     *
     * @return void
     */
    public function init()
    {
        $this->setMethod('post');
        $this->addElement('text', 'sn', array(
        	'label'      => 'sn',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'name', array(
        	'label'      => 'name',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'phone', array(
        	'label'      => 'phone',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'phone_branch', array(
        	'label'      => 'phone_branch',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'manager_sn', array(
        	'label'      => 'manager_sn',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'class_sn', array(
        	'label'      => 'class_sn',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'memo', array(
        	'label'      => 'memo',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'rank', array(
        	'label'      => 'rank',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
        $this->addElement('text', 'enable', array(
        	'label'      => 'enable',
        	'required'   => true,
        	'filters'    => array('StringTrim'),
        //	'validators' => array()
        	)
        );
    }


}
